<?php
include_once 'header.php';
include_once 'db/leader.php';
include_once 'db/school.php';
include_once 'db/team.php';
include_once 'db/user.php';

$user = User::current();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/master.css" />
        <link rel="stylesheet" type="text/css" href="css/style.css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
        <script type="text/javascript" src="js/header.js"></script>
        <script type="text/javascript" src="js/profile.js"></script>
        <script type="text/javascript">
            var selectedId = "#profile";
        </script>
        <title>Profile</title>
    </head>
    <body>
        <div id="container">
            <?php showHeader($user); ?>

            <div id="content">

                <div id="middleBar">
                    <div id ="add"><form action="addteam.php">
                            <input type="submit" value="Add Team" />
                        </form></div>
                    <div id="tabs">
                        <ul>
                            <li class="tabList"><a class="tab" href="#leader">Leader</a></li>
                            <li class="tabList"><a class="tab" href="#team">Team</a></li>                            
                        </ul>

                        <div id="leader">
                            <form>
                                <table>
                                    <br />
                                    <tr>    
                                        <td>First Name: </td>
                                        <td><input type="text" name="first_name" /></td>
                                    </tr>
                                    <tr>  
                                        <td>Last Name:</td> 
                                        <td><input type="text" name="last_name" /></td>
                                    </tr> 
                                    <tr>  
                                        <td>School: </td>
                                        <td><input type="text" name="SID" /></td>
                                    </tr>  
                                    <tr>  
                                        <td>Email:</td> 
                                        <td><input type="text" name="email" />
                                            <input type="submit" value="Submit" /></td>
                                    </tr>  
                                    <tr>
                                        <td>
                                            <br />
                                        </td>
                                    </tr>
                                </table>
                            </form>              
                        </div>
                        <div id="team">
                            <form>
                                <br />
                                <table>
                                    Team: <input type="text" name="TID" />
                                    <input type="submit" value="Edit" />
                                    <input type="submit" value="Delete" />
                                    <tr>
                                        <td>
                                            <br />
                                            <br />
                                            <br />
                                            <br />
                                            <br />
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                    </div>

                </div>
            </div>
            <?php include_once 'footer.php'; ?>
        </div>
    </body>
</html>
